#ifndef MD_DTV_H
#define MD_DTV_H

#include <QWidget>
#include "tcl_mstar_dtv_tv.h"
#include "tcl_mtk_dtv_tv.h"

namespace Ui {
class Md_dtv;
}

class Md_dtv : public QWidget
{
    Q_OBJECT
    
public:
    explicit Md_dtv(QWidget *parent = 0);
    Md_dtv(TCL_MSTAR_DTV_TV *,QWidget *parent=0);
    Md_dtv(TCL_MTK_DTV_TV *,QWidget *parent=0);
    ~Md_dtv();

    bool is_close();

private:
    Ui::Md_dtv *ui;
   QList <QString> ch_data;
    void My_Init();

    TCL_MSTAR_DTV_TV *ms_dtv;
    TCL_MTK_DTV_TV *mt_dtv;
    int solution;

signals:
      void Mstar_Close(TCL_MSTAR_DTV_TV );
      void Mtk_Close(TCL_MTK_DTV_TV );

public slots:
       void Confirm();
};

#endif // MD_DTV_H
